home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gLanguagePref, gSystemVolumeLevel, gVdPort, gVdPlayer
- set buttonClicked to the clickOn
- repeat while the mouseDown = 1
- end repeat
- case buttonClicked of
- 11:
- if gSystemVolumeLevel > 0 then
- exit
- else
- set the locV of sprite 7 to 102
- set gSystemVolumeLevel to integer(the soundLevel * 36.42000000000000171)
- set the locH of sprite 8 to (gSystemVolumeLevel / 255.0 * 210.0) + 96.0
- end if
- 12:
- if gSystemVolumeLevel = 0 then
- exit
- else
- set the locV of sprite 7 to 124
- set gSystemVolumeLevel to 0
- set the locH of sprite 8 to 96
- end if
- end case
- updateStage()
- end
-